import request from "@/util/axios";
import downloadRequest from "@/util/downloadUtil";

export const exportQueue = () =>
    request({
        url: "/api/export/queue",
        method: "get"
    })

export const download = (taskId) =>
    downloadRequest({
        url: "/api/export/download",
        method: "get",
        params: {taskId}
    })